package com.young.servicehosp.repository;

import com.young.model.model.hosp.Department;
import org.springframework.data.mongodb.repository.MongoRepository;

public interface DepartmentRepository extends MongoRepository<Department, String> {
    Department findByHoscode(String hoscode);
}
